package com.yekong.house.biz.mapper;

import com.yekong.house.common.model.Agency;
import com.yekong.house.common.model.User;
import com.yekong.house.common.page.PageParams;
import org.apache.ibatis.annotations.Param;
import org.springframework.jmx.export.annotation.ManagedOperationParameter;

import java.util.List;

public interface AgencyMapper {
   List<User> selectAgent(@Param("user") User user, @Param("pageParams")PageParams pageParams);

   Long selectAgentCount(@Param("user")  User user);

   List<Agency> select(Agency agency);

    int insert(Agency agency);
}
